/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dian.common.vo.TreeVo;
import com.dian.common.utils.PageUtils;
import com.dian.modules.base.entity.UomEntity;

import java.util.List;
import java.util.Map;

/**
 * 计量单位
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-05-14 17:52:50
 */
public interface UomService extends IService<UomEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<UomEntity> queryAll(Map<String, Object> params);

    /**
     * 树状数据获取
     * @param params
     * @return
     */
    List<TreeVo<UomEntity>> queryTreeAll(Map<String, Object> params);

    /**
     * 删除
     * @param id
     * @return
     */
    boolean deleteInfo(Long id);


}

